package com.kalaqia.base.ui.list;

import java.util.List;

/**
 * function:
 * project:XinYueGouAndroidShangJiaBan
 * describe:
 * created owner:kalaqia 421407393@qq.com
 * created date:2017/11/8 10:28
 */
public interface BaseListContract {
    interface View<M extends Model> {
        void showResult(List<M> results);
        void setState(String msg);
        void setAllPage(int page);
    }

    interface RefreshPresenter {
        void refreshData();
    }

    interface Presenter {
        void refreshData(int page);
    }

    interface Model {

    }
}
